<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head>
	<title>Sistema Transgressao Cambial</title>
	<h:outputStylesheet library="css" name="theme.css" />
	<style type="text/css">
.style3 {
	color: #000000
}

.style4 {
	color: #548CE9
}
</style>
</h:head>
<h:body>
	<h:form>
		<table width="975" height="130" border="0" align="center">
			<tr>
				<td height="131" colspan="5"><div id="Header">
						<h:graphicImage library="imagemSite" name="headerBna.png"
							height="130" width="975" />
					</div></td>
			</tr>
		</table>
		<table width="975" height="34" border="0" align="center">
			<tr>
				<td width="975" height="34"><div id="botao1">
						<p:menubar autoSubmenuDisplay="true">
							 <p:submenu  >
                                    <f:facet name="label">
                                        <p:menuitem  value="Pagina Principal" icon="/resources/imagemSite/home.png" url="/index.xhtml"  />
                                    </f:facet>
                                </p:submenu>
                                 <p:submenu  >
                                    <f:facet name="label">
                                        <p:menuitem  value="Aplicativo" icon="/resources/imagemSite/ferramentas.png" />
                                    </f:facet>
                                    <p:menuitem value="Sistema Transgressao Cambial" url="/Transgressao/listaProcesso.xhtml" />
                                    
                                </p:submenu>

						</p:menubar>
					</div></td>
			</tr>
		</table>
		<table width="975" height="200" border="0" align="center"
			cellpadding="0" cellspacing="0" bgcolor="#EEEEEE">
			<tr>
				<td width="975" height="400" valign="top"><p:divider></p:divider>

					<p:panel header="Criar Extensão Processo" styleClass="ui-wijmenu2">
						<h:panelGrid columns="3">

							<h:outputLabel value="Transgressor" />
							<h:selectOneMenu id="idTransgressor"
								value="#{extensaoProcesso.transgressorId}">
								<f:selectItems value="#{extensaoProcesso.itemsTransgressor}" />
							</h:selectOneMenu>
							<p:message for="idTransgressor" />

							<h:outputText value="Valor da multa" />
							<h:inputText value="#{extensaoProcesso.extensaoProcessoEntity.valorMulta}"
								required="true" id="valorMulta"
								requiredMessage="Preencha o campo 'Valor da multa'" />
							<p:message for="valorMulta" />

							<h:outputText value="Valor de devolução" />
							<h:inputText
								value="#{extensaoProcesso.extensaoProcessoEntity.valorDevolucao}"
								required="true" id="valorDevolucao"
								requiredMessage="Preencha o campo 'Valor de devolução'" />
							<p:message for="valorDevolucao" />

							<h:outputLabel value="Desconto" />
							<h:selectOneMenu id="idBoleanDesconto"
								value="#{extensaoProcesso.boleanDescontoId}"
								required="true" requiredMessage="Preencha o campo 'Desconto'">
								<f:selectItems value="#{extensaoProcesso.itemsBoleanDesconto}" />
							</h:selectOneMenu>
							<p:message for="idBoleanDesconto" />

						</h:panelGrid>
						<h:commandButton value="Salvar" action="#{extensaoProcesso.salvarExtensaoProcesso}" />
						<h:commandButton value="Cancelar" action="listaExtensaoProcesso" immediate="true" />

					</p:panel> <p:divider></p:divider> 
					<p:commandButton value="Visualizar Processo" action="listaProcesso"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Estado Processo" action="listaProcessoEstado"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Transgressor" action="listaTransgressor"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Multa Transgressor" action="listaExtensaoProcesso"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Desconto" action="listaBoleanDesconto"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Recurso" action="listaRecurso"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Moeda" action="listaTipoMoeda"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Notificacao" action="listaTipoNotificacao"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Percentagem Multa" action="listaMulta"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
				</td>
			</tr>
		</table>
	</h:form>
</h:body>
</html>